package com.akl.ssmspringboot.dao;

import com.akl.ssmspringboot.entity.Login;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName:
 * @Author: Guoxy
 * @Date: Created in 16:27 2018/11/30
 * @Version:1.0
 */
public interface LoginMapper extends BaseMapper<Login> {

    /**
     * 通过用户名密码查找信息
     * @param loginName
     * @param password
     * @return
     */
    Login selectLogin(@Param("loginName") String loginName, @Param("password")String password);


}
